<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
</head>

<script src="js/jquery.js"></script>
<script src="js/center/tools_zt.js"></script>
<script>
    var tools = Tools();

    $(function () {

        var result=tools.getParam('newPage');

        if(result=='Tx'){
            var money=tools.getParam('num');
            doPost(accountURL +tools.apiURL.buildWithdrawParms, {money:money}, resultEND);
        }else if(result=='Cz'){
            //网银充值
            var money=tools.getParam('num');
            tools.doPost(accountURL + tools.apiURL.buildWyRechargeParm, {money:money},resultEND);
        }else if(result=='Pw'){
            tools.doPost(accountURL +tools.apiURL.restPassword,{},resultEND);
        }
         function resultEND(data) {
            if(data.status==0){
                tools.formPost(data.data.actionUrl, data.data.parms);
            }else{
                $('#error').text(data.message);
            }
        }

    });

</script>
<body>
 <p id="error"></p>
<!--公共弹窗 end-->
</body>
</html>